'use strict'
import {connect} from 'dva';
import React, {Component} from 'react';
import CacheRoute from 'react-router-cache-route';
import OrderList from "../../pages/User/OrderList";
import TwoButton from "../../pages/User/TwoButton";
import styles from './User.css';


class User extends Component {
  render() {
    return (
      <div className={styles.normal}>
        <CacheRoute path={"/user/me"} component={TwoButton} extra/>
        <CacheRoute path={"/user/orderList"} component={OrderList} extra/>
        {/*
        先放到这里,信息收集表单,后面挂到下单的地方,没填过写入
        <Information/>
        */}
      </div>
    );
  }

}

User.propTypes = {};

export default connect()(User);
